package com.bountytask.service;

import com.alibaba.fastjson.JSONObject;
import com.bountytask.entity.Message;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MessageService {
    public JSONObject addOne(long userid, String mes);

    public Message getOne(long id);

    public List<Message> getAll();
}
